
import fetch from '../../utils/http/fetch.js'
import consts from '../../utils/http/consts.js'

const ROOT = './cs/statistics';

export default {  
  getRescueTeamStatistics(data, suc, err) {
    return fetch(data, suc, err, consts.HttpMethod.POST, `${ROOT}/getRescueTeamStatistics`);
  },
  getrefugeStatistics(data, suc, err) {
    return fetch(data, suc, err, consts.HttpMethod.POST, `${ROOT}/getrefugeStatistics`);
  },
  getstoreStatistics(data, suc, err) {
    return fetch(data, suc, err, consts.HttpMethod.POST, `${ROOT}/getstoreStatistics`);
  }, 
  getProtectTargetStatistics(data, suc, err) {
    return fetch(data, suc, err, consts.HttpMethod.POST, `${ROOT}/getProtectTargetStatistics`);
  },
  getExpertStatistics(data, suc, err) {
    return fetch(data, suc, err, consts.HttpMethod.POST, `${ROOT}/getExpertStatistics`);
  },  
}
